import 'ant-design-vue/dist/antd.css';

import { createSSRApp } from 'vue';

import Antd from 'ant-design-vue';

import App from './App.vue';
import { createRouter } from './router';

// createApp(App).use(Antd).mount('#app')


export function createApp() {
  const app = createSSRApp(App)
  const router = createRouter();
  app.config.productionTip = false
  app.use(Antd).use(router)
  return { app, router }
}